#!/bin/bash
/home/ptps/dev/nginx/sbin/nginx -s stop
nginxPid=`ps -ef|grep nginx|grep master| awk '{print $2}'`
kill -QUIT $nginxPid
